package mx.com.fractal.ristorante.dto;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name="personal")
@XmlAccessorType(XmlAccessType.NONE)
public class PersonalDTO extends PersonaDTO {
	
	public PersonalDTO() {
	}
	
	public PersonalDTO(Short idPersonal) {
		this.idPersonal = idPersonal;
	}

	@XmlElement
	private PosicionDTO posicion;
	
	@XmlAttribute(name="id-personal")
	private Short idPersonal;
	
	@XmlAttribute(name="codigo-personal")
	private String codigoPersonal;
	
	@XmlElement(name="ife")
	private String ife;
	
	@XmlElement(name="curp")
	private String curp;

	public PosicionDTO getPosicion() {
		return posicion;
	}

	public void setPosicion(PosicionDTO posicion) {
		this.posicion = posicion;
	}

	public Short getIdPersonal() {
		return idPersonal;
	}

	public void setIdPersonal(Short idPersonal) {
		this.idPersonal = idPersonal;
	}

	public String getCodigoPersonal() {
		return codigoPersonal;
	}

	public void setCodigoPersonal(String codigoPersonal) {
		this.codigoPersonal = codigoPersonal;
	}

	public String getIfe() {
		return ife;
	}

	public void setIfe(String ife) {
		this.ife = ife;
	}

	public String getCurp() {
		return curp;
	}

	public void setCurp(String curp) {
		this.curp = curp;
	}
	
	
	
}
